package com.job;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import java.net.InetAddress;
import java.net.UnknownHostException;

/**
 * 启动程序
 *
 * @author job
 */
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class JobApplication implements ApplicationRunner {
    public static void main(String[] args) throws UnknownHostException {
        SpringApplication.run(JobApplication.class, args);
        System.out.println("///////////////////////////////////////////////////////////////////////////\n" +
                "//  Job调度系统启动成功   Host:" + InetAddress.getLocalHost().toString()+"\n"+
                "///////////////////////////////////////////////////////////////////////////");
    }


    @Override
    public void run(ApplicationArguments args) throws Exception {

    }


    ///////////////////////////////////////////////////////////////////////////
    //  Job调度系统启动成功   Host:
    ///////////////////////////////////////////////////////////////////////////
}